<?php if (isset($typeslist)): ?>
<fieldset id="typesList">
<legend>Типы</legend>
<?php echo $form->create('testresult', array('url'=>$this->here)) ?>
	<ul>
		<li>
<?php
	$radioType = array();
	foreach ($typeslist as $k => $v) { 
		$type			= $v['Soctype'];
		$label			= $type['name'] . ' - ' . $type['alias'] .' - '. $type['alt']; 
		$radioType[$type['id']] = $label;
	}
?>
			<?php echo $form->radio('type', $radioType, array('separator'=>'</li><li>', 'legend'=>false)) ?>
		</li>
	<li> <?php echo $form->end('да это мой тип') ?> </li>
	</ul>
</fieldset>
<?php endif ?>
